import request from '@/utils/request'

// 查询活动效果统计列表
export function listActivity_stats(query) {
  return request({
    url: '/activity_stats/activity_stats/list',
    method: 'get',
    params: query
  })
}

// 查询活动效果统计详细
export function getActivity_stats(activityId) {
  return request({
    url: '/activity_stats/activity_stats/' + activityId,
    method: 'get'
  })
}

// 新增活动效果统计
export function addActivity_stats(data) {
  return request({
    url: '/activity_stats/activity_stats',
    method: 'post',
    data: data
  })
}

// 修改活动效果统计
export function updateActivity_stats(data) {
  return request({
    url: '/activity_stats/activity_stats',
    method: 'put',
    data: data
  })
}

// 删除活动效果统计
export function delActivity_stats(activityId) {
  return request({
    url: '/activity_stats/activity_stats/' + activityId,
    method: 'delete'
  })
}
